import requests

if __name__ == '__main__':
    base_url = "https://www.baidu.com/s"

    word = {
        "wd": "陕西交通职业技术学院"
    }

    headers = {
        "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36"
    }

    resp = requests.get(url=base_url, params=word, headers=headers)
    resp.encoding = "utf-8"
    html = resp.text

    print(html)
